import { createApp } from 'vue'
import { createPinia } from 'pinia'
import App from './App.vue'
import router from './router'
import './style.css'

// 导入Prism核心和样式
import 'prismjs'
import 'prismjs/themes/prism.css'
import 'prismjs/components/prism-javascript'
import 'prismjs/components/prism-typescript'
import 'prismjs/components/prism-bash'
import 'prismjs/components/prism-json'
import 'prismjs/components/prism-markup'
import 'prismjs/components/prism-css'

// 创建应用实例
const app = createApp(App)

// 使用Pinia和Router
app.use(createPinia())
app.use(router)

// 挂载应用
app.mount('#app')
